package com.ssm.blog.util;

public interface Constants {
    // md5(用户密码+PASSWORD_SALT_KEY)保存到数据库中。
    String PASSWORD_SALT_KEY = "Shiro.admin.2017";
    //Shiro的session中存放用户的key
    String SESSION_USER_KEY = "SESSION_USER_KEY";
    //redis中存放的用户权限菜单的key
    String SESSION_USER_MANU = "SESSION_USER_MANU";
    //Shiro存放的角色信息
    String SESSION_USER_ROLE = "SESSION_USER_ROLE";

    int INDEX_ADV_NUM = 5;

    int STATUS_INVALID = 0;
    int STATUS_VALID = 1;

}
